package com.project.internship.mapper;

import com.project.internship.entity.Class;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2020-04-06
 */
@Repository
public interface ClassMapper extends BaseMapper<Class> {

    List<Class> getClasses(@Param("id") Integer id,@Param("key") String key);
}
